package com.opennews.openplatform.myspringbootcore.extension

fun String?.isNullOrBlankOrLiteralNull(): Boolean {
    return this.isNullOrBlank() || this.equals("null", ignoreCase = true)
}

fun String?.isNotNullOrBlankOrLiteralNull(): Boolean {
    return !this.isNullOrBlankOrLiteralNull()
}

fun String?.isNotNullOrBlank(): Boolean {
    return !this.isNullOrBlank()
}